FROM java:8-jre-alpine

ENV PORT 8081
RUN wget  --no-check-certificate --no-cookies --header https://github.com/yushangcl/LicenseServer/releases/download/1.0.0/LicenseServer-1.0-jar-with-dependencies.jar
CMD nohup java -jar LicenseServer-1.0-jar-with-dependencies.jar -p $PORT >license.out 2>&1 &

